<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <title>SL商城-修改密码</title>
		<meta charset='utf-8'>
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
		<!-- 引入 Bootstrap -->
			<link href="${pageContext.request.contextPath }/css/bootstrap.min.css" rel="stylesheet">
 
		<!-- HTML5 Shim 和 Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
		<!-- 注意： 如果通过 file://  引入 Respond.js 文件，则该文件无法起效果 -->
		<!--[if lt IE 9]>
			<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
			<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
		<![endif]-->
		<!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
		<script src="${pageContext.request.contextPath }/js/jquery.js"></script>
		<!-- 包括所有已编译的插件 -->
		<script src="${pageContext.request.contextPath }/js/bootstrap.min.js"></script>
    </head>
	
	<style>
		#pwd{
			width:600px;
			margin-left:50px;
			
			
		}
		
		
	</style>
	
	<body>
		<div id="pwd">
			<form action="#" class="form form-horizontal" id="pwd" method="post">
				<caption><h3 align="center">修改商城登录密码</h3></caption>
				<hr/>
				<div class="form-group">
					<label class="col-xs-3 control-label" for="oldpwd">旧密码:</label>
					<div class="col-xs-8">
						<input class="form-control" type="password" required pattern="^\w{6,12}$" name="oldpwd" placeholder="请输入6-12位密码,由数字,字母或下划线组成">
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-3 control-label" for="newpwd">新密码:</label>
					<div class="col-xs-8">
						<input class="form-control" type="password" required pattern="^\w{6,12}$" name="newpwd" placeholder="请输入6-12位密码,由数字,字母或下划线组成">
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-3 control-label" for="repwd">确认新密码:</label>
					<div class="col-xs-8">
						<input class="form-control" type="password" required pattern="^\w{6,12}$" name="repwd" placeholder="请输入6-12位密码,由数字,字母或下划线组成">
					</div>
				</div>
				<div align="center">
					<button class="btn btn-primary" style="padding:10px 219px">
						确认修改
					</button>
				</div>
			</form>
			<div style="height:30px;"></div>
			<form action="#" class="form form-horizontal" id="pwd" method="post">
				<caption><h3 align="center">修改商城二级密码</h3></caption>
				<hr/>
				<div class="form-group">
					<label class="col-xs-3 control-label" for="oldpwd">旧密码:</label>
					<div class="col-xs-8">
						<input class="form-control" type="password" required pattern="^\d{6}$" name="oldpwd" placeholder="请输入6位数字密码">
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-3 control-label" for="newpwd">新密码:</label>
					<div class="col-xs-8">
						<input class="form-control" type="password" required pattern="^\d{6}$" name="newpwd" placeholder="请输入6位数字密码">
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-3 control-label" for="repwd">确认新密码:</label>
					<div class="col-xs-8">
						<input class="form-control" type="password" required pattern="^\d{6}$" name="repwd" placeholder="请输入6位数字密码">
					</div>
				</div>
				<div align="center">
					<button class="btn btn-primary" style="padding:10px 219px">
						确认修改
					</button>
				</div>
			</form>
		</div>
		
    </body>
	
	<script>
		
		
		
		
	</script>
</html>